# 赋值运算符
a = 8
a += 2
print(a)
a -=2
print(a)
a *= 2
print(a)
a /= 2

# 比较运算符
a = 2
b = 11
print(a == b)
print(a != b)
print(a > b)
print(a < b)
print(a >= b)
print(a <= b)

# 逻辑运算符
print(True and False)
print(True and False)
print(True or False)
print(not False)

# 成员运算符
str1 = 'hello'
print('h' in str1)
print('a' in str1)
print('c' not in str1)
print('o' not in str1)
